* {
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
}
ul,
ol > li {
    list-style: none;
}

input {
    border: 0;
    outline: none;
}
img {
    display: block;
}
// 导航栏
.container {
    height: 36px;
    background-color: #2e2828;
    .box {
        width: 1200px;
        height: 36px;
        margin: 0 auto;
    }
    .u1 {
        width: 600px;
        font-size: 12px;
        height: 36px;
        line-height: 36px;
        float: left;
        li {
            float: left;
            position: relative;
            padding: 0 8px;
            a {
                color: #afafaf;
                &:hover {
                    color: #fff;
                }
            }
            span {
                color: #414141;
                position: absolute;
                top: -1px;
                margin-left: 6px;
            }
        }
        li:nth-of-type(1) {
            padding-left: 0px;
        }
        li:nth-of-type(7) {
            .triangle {
                position: absolute;
                top: 14px;
                left: 63px;
                transform: rotate(45deg);
                display: inline-block;
                width: 5px;
                height: 5px;
                border-right: 1px solid #afafaf;
                border-bottom: 1px solid #afafaf;
            }
        }
    }
    .u2 {
        font-size: 12px;
        height: 36px;
        line-height: 36px;
        width: 600px;
        float: left;
        position: relative;
        li {
            height: 36px;
            float: left;
            padding: 0 8px;
            a {
                color: #afafaf;
                &:hover {
                    color: #fff;
                }
            }
            span {
                color: #414141;
                top: -1px;
            }
            .sp3 {
                color: #414141;
                position: absolute;
                top: -1px;
                margin-left: 6px;
            }
        }
        li:nth-of-type(1) {
            padding-left: 0px;
            margin-left: 146px;
            .u2-a1 {
                display: block;
            }
            // .u2-a2 {
            //     display: none;
            // }
            .u2-a3 {
                display: none;
                border-top: 1px solid aqua;
                width: 70px;
                height: 42px;
                background-color: #333333;
                left: 137px;
                position: absolute;
                z-index: 999;
                color: #afafaf;
                text-align: center;
                line-height: 42px;
                cursor: pointer;
                &:hover {
                    color: #fff;
                }
            }
        }
        li:nth-of-type(3),
        li:nth-of-type(4),
        li:nth-of-type(5) {
            .sp1 {
                transform: rotate(45deg);
                display: inline-block;
                width: 5px;
                height: 5px;
                border-right: 1px solid #afafaf;
                border-bottom: 1px solid #afafaf;
                margin-left: 6px;
                margin-bottom: 2px;
                top: 12px;
            }
        }
        li:nth-of-type(6) {
            background-color: #424242;
            color: #afafaf;
            .sp1 {
                display: inline-block;
                margin: 0 4px;
                margin-bottom: -2px;
                width: 14px;
                height: 14px;
                background-color: pink;
                // 精灵图
                background: url(../../static/img/glyphicons-halflings-white.png)
                    no-repeat -360px -120px;
            }
            .sp2 {
                color: #afafaf;
            }
        }
    }
}
// 搜索区
.searchFor-container {
    height: 74px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 4%);
    .searchFor {
        width: 1200px;
        height: 74px;
        margin: 0 auto;
        position: relative;
        .a1 {
            img {
                width: 205px;
                height: 36px;
                margin-top: 20px;
                float: left;
            }
        }
        .a2 {
            img {
                width: 74px;
                height: 24px;
                float: left;
                margin: 26px 0 0 32px;
            }
        }
        ul {
            li {
                float: left;
                margin-top: 27px;
                margin-left: 24px;
                a {
                    color: #333333;
                }
            }
        }
        input {
            width: 133px;
            height: 30px;
            border-radius: 15px;
            margin-top: 24px;
            margin-left: 280px;
            color: #999;
            font-size: 12px;
            line-height: 30px;
            padding-left: 108px;
            background-color: #f0f0f0;
        }
        div {
            position: absolute;
            width: 20px;
            height: 20px;
            background: url(../../static/img/glyphicons-halflings.png) no-repeat -46px
                3px;
            left: 1170px;
            top: 29px;
            cursor: pointer;
        }
    }
}
.hr-10 {
    height: 10px;
}
// 目录
.breadcrumb {
    width: 1200px;
    margin: 0 auto;
    zoom: 1;
    .breadcrumbA {
        margin-left: 1px;
        line-height: 1.5;
        padding-top: 10px;
        a {
            color: #666;
            font-size: 12px;
            &:hover {
                color: #333;
            }
        }
        .breadname {
            color: #333;
            font-size: 12px;
        }
    }
}
// 灰框内容
.product {
    width: 1200px;
    height: 635px;
    margin: 0 auto;
    position: relative;
    .productLeft {
        position: relative;
        margin-top: 8px;
        width: 450px;
        height: 450px;
        float: left;
        .productLeftImg {
            width: 450px;
            height: 450px;
            .focus {
                position: absolute;
                width: 224px;
                height: 224px;
                border: 1px solid #cccccc;
                top: 0;
                left: 0;
                background: rgb(204 204 204 / 50%);
                display: none;
                z-index: 500;
            }
            img {
                width: 450px;
                height: 450px;
            }
        }
        .productLeftBottom {
            width: 370px;
            height: 68px;
            margin-left: 40px;
            margin-top: 20px;
            .productLeftBottomImg1,
            .productLeftBottomImg2 {
                width: 66px;
                height: 66px;
                float: left;
                padding: 0 3px;
                // border: 1px solid #ca141d;
                margin-right: 10px;
                img {
                    display: block;
                    width: 60px;
                    height: 60px;
                    margin: 3px 0 0 3px;
                    cursor: pointer;
                }
            }
        }
    }
    .magnifier {
        position: absolute;
        z-index: 500;
        width: 400px;
        height: 400px;
        border: 2px solid #cccccc;
        background-color: #fff;
        left: 462px;
        top: 14px;
        overflow: hidden;
        display: none;
        img {
            position: absolute;
        }
    }
    .productRight {
        width: 700px;
        height: 635px;
        float: right;
        position: relative;
        margin-left: 20px;
        .productDescribe {
            width: 700px;
            height: 62px;
            font-size: 21px;
            overflow: hidden;
            margin-bottom: 10px;
            font-weight: 400;
            margin-top: 2px;
            padding-right: 20px;
        }
        .productInfo {
            width: 700px;
            height: 145px;
            background: #f5f5f5;
            // 价格
            .productInfoPrice {
                width: 700px;
                height: 34px;
                padding-top: 12px;
                .productInfoPriceLeft {
                    float: left;
                    width: 85px;
                    text-indent: 10px;
                    line-height: 30px;
                    font-size: 12px;
                    color: #3a3a3a;
                }
                .productInfoPriceRight {
                    float: left;
                    color: #ca141d;
                    line-height: 30px;
                    font-size: 24px;
                }
            }
            // 促销
            .productInfoPromotion {
                width: 700px;
                height: 94px;
                .productInfoPromotionLeft {
                    float: left;
                    width: 85px;
                    text-indent: 10px;
                    line-height: 30px;
                    font-size: 12px;
                    color: #3a3a3a;
                }
                .productInfoPromotionRight {
                    float: left;
                    height: 94px;
                    .productInfoPromotionRightA {
                        height: 20px;
                        margin-bottom: 10px;
                        .productInfoPromotionRightA1 {
                            float: left;
                            line-height: 18px;
                            height: 18px;
                            border: 1px solid #ca141d;
                            padding: 0 6px;
                            min-width: 24px;
                            color: #ca141d;
                            text-align: center;
                            margin-right: 10px;
                            margin-top: 5px;
                            font-size: 12px;
                        }
                        .productInfoPromotionRightA2 {
                            float: left;
                            line-height: 1.5;
                            margin-top: 6px;
                            max-width: 485px;
                            overflow: hidden;
                            white-space: nowrap;
                            text-overflow: ellipsis;
                            font-size: 12px;
                            color: #3a3a3a;
                        }
                    }
                }
            }
        }
    }
}
// 服务说明
.serviceDescription {
    width: 700px;
    height: 18px;
    margin-top: 20px;
    .serviceDescriptionLeft {
        color: #3a3a3a;
        font-size: 12px;
        margin-left: 10px;
        float: left;
    }
    .serviceDescriptionRight {
        margin-left: 26px;
        float: left;
        li {
            color: #3a3a3a;
            font-size: 12px;
            float: left;
            margin-right: 20px;
        }
    }
} // 商品编码
.commodityCode {
    width: 700px;
    margin-top: 16px;
    height: 18px;
    .commodityCodeLeft {
        color: #3a3a3a;
        font-size: 12px;
        margin-left: 10px;
        float: left;
    }
    .commodityCodeRight {
        margin-left: 26px;
        color: #3a3a3a;
        font-size: 12px;
        float: left;
    }
}
.line {
    font-size: 1px;
    line-height: 1px;
    height: 0;
    background: 0;
    border-bottom: 1px solid #ddd;
    margin-top: 4px;
}
// 选择颜色
.chooseColor {
    width: 700px;
    height: 38px;
    margin-top: 16px;
    .chooseColorLeft {
        color: #3a3a3a;
        font-size: 12px;
        margin-left: 10px;
        float: left;
        line-height: 38px;
    }
    .chooseColorRight {
        float: left;
        margin-left: 26px;
        li {
            min-width: 74px;
            height: 38px;
            border: 1px solid #ca141d;
            float: left;
            margin: 0 10px 10px 0;
            padding: 0 12px;
            .chooseColorRightImg {
                float: left;
                margin-top: 4px;
                margin-right: 4px;
                img {
                    width: 30px;
                    height: 30px;
                }
            }
            .chooseColorRightText {
                color: #3a3a3a;
                float: left;
                line-height: 38px;
                font-size: 12px;
            }
        }
    }
}
// 选择版本
.selectVersion {
    width: 700px;
    height: 28px;
    margin-top: 14px;
    .selectVersionLeft {
        color: #3a3a3a;
        font-size: 12px;
        margin-left: 10px;
        float: left;
        line-height: 28px;
    }
    .selectVersionRight {
        float: left;
        margin-left: 26px;
        li {
            line-height: 28px;
            min-width: 54px;
            height: 28px;
            border: 1px solid #ca141d;
            float: left;
            margin: 0 10px 10px 0;
            padding: 0 12px;
            color: #3a3a3a;
            font-size: 12px;
        }
    }
}
// 保障服务
.guaranteeService {
    width: 700px;
    height: 28px;
    margin-top: 14px;
    .guaranteeServiceLeft {
        color: #3a3a3a;
        font-size: 12px;
        margin-left: 10px;
        float: left;
        line-height: 28px;
    }
    .guaranteeServiceRight {
        float: left;
        margin-left: 26px;
        li {
            line-height: 28px;
            min-width: 54px;
            height: 28px;
            border: 1px solid #ca141d;
            float: left;
            margin: 0 10px 10px 0;
            padding: 0 12px;
            color: #3a3a3a;
            font-size: 12px;
            .guaranteeServiceRight1 {
                float: left;
            }
            .guaranteeServiceRight2 {
                float: left;
            }
            .guaranteeServiceRight3 {
                float: left;
                width: 20px;
                height: 20px;
                margin-top: 4px;
                .guaranteeServiceRight3triangle {
                    width: 6px;
                    height: 6px;
                    border-bottom: 1px solid #d6d6d6;
                    border-right: 1px solid #d6d6d6;
                    transform: rotate(45deg);
                    margin-left: 11px;
                    margin-top: 4px;
                }
            }
        }
    }
}
// 推荐
.recommend {
    width: 700px;
    height: 30px;
    margin-top: 14px;
    .recommendLeft {
        color: #3a3a3a;
        font-size: 12px;
        margin-left: 10px;
        float: left;
        line-height: 30px;
    }
    .recommendRight {
        float: left;
        margin-left: 50px;
        width: 605px;
        overflow: hidden;
        li {
            line-height: 30px;
            min-width: 56px;
            height: 30px;
            float: left;
            margin: 0 10px 10px 0;
            padding: 0 20px;
            font-size: 12px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            background: #f5f5f5;
            a {
                color: #3a3a3a;
            }
        }
    }
}
// 已选择商品
.productsSelected {
    width: 700px;
    height: 30px;
    margin-top: 14px;
    .productsSelectedLeft {
        color: #3a3a3a;
        font-size: 12px;
        margin-left: 10px;
        float: left;
        line-height: 30px;
        margin-right: 10px;
    }
    .productsSelectedRight {
        float: left;
        line-height: 30px;
        height: 30px;
        float: left;
        margin: 0 10px 10px 0;
        font-size: 12px;
        color: #ca141d;
        width: 568px;
    }
}
// 加入购物车
.shoppingCart {
    width: 172px;
    line-height: 46px;
    background-color: #ca151d;
    letter-spacing: 1px;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    margin-left: 82px;
    a {
        font-size: 18px;
        color: #fff;
    }
}
.line2 {
    width: 100%;
    height: 1px;
    background: #ddd;
}
